package com.heima.tabletennis_basketball;

public class Test {
    public static void main(String[] args) {
        Person p1 = new Player("张三","乒乓球");
        Person p2 = new Player("李四","篮球");
        Person t1 = new Trainer("志刚大三","乒乓球");
        Person t2 = new Trainer("围大","篮球");
        p1.study();
        p2.study();
        t1.study();
        t2.study();
    }
}
